using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace SunshineFarmWord
{
    //所有可以交互的基类
    public class InteractiveBase : MonoBehaviour
    {
        protected PlayerStateMachine _playerStateMachine;
        protected virtual void Start()
        {
        }

        protected virtual void Update()
        {
        }

        #region public functions
        public virtual void InteractiveStart(PlayerStateMachine stateMachine)
        {
            _playerStateMachine = stateMachine;
        }
        #endregion
    }
}
